package cn.util;

import cn.usian.jyzx.model.entity.user.UserInfo;

public class AuthThreadLocalUtils {
    private static ThreadLocal<UserInfo> userInfoThreadLocal=new ThreadLocal<>();


    public static UserInfo get(){
        return userInfoThreadLocal.get();
    }

    public static void set(UserInfo userInfo){
        userInfoThreadLocal.set(userInfo);
    }
}
